<?php


Route::get('/', 'IndexController@index');

Route::get('/projects', function(){
    $projects = \App\Model\Project::all();
    return view('projects', compact('projects'));
});